package leetcode.code1140;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution1140 implements IDebug {

	public abstract int stoneGameII(int[] piles);

	@Override
	public void debug1() {
		String str = "[2,7,9,4,4]";
		int e = 10;
		int r = this.stoneGameII(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[20,7,9,4,14,2,7,9,4,4000,7,9,4,14,2,7,9,4,4000]";
		int e = 4060;
		int r = this.stoneGameII(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		String str = "[1]";
		int e = 4060;
		int r = this.stoneGameII(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
